package com.jn.erp.web.api.student.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * <p>
 * 
 * </p>
 *
 * @author wyp
 * @since 2024-09-29
 */
@Data
  @EqualsAndHashCode(callSuper = false)
    public class TStudentCourseSale implements Serializable {

    private static final long serialVersionUID=1L;

      @TableId(value = "id", type = IdType.AUTO)
      private Long id;

      /**
     * 报名老师所属组织ID
     */
      private Long orgId;

    /**
     * 销售人员id
     */
    private Long saler;

      /**
     * 订单编号
     */
      private String orderNo;

      /**
     * 订单类型1新报名2续保3退课
     */
      private Integer type;

      /**
     * 状态
     */
      private Integer state;

      /**
     * 金额
     */
      private BigDecimal courseAmount;

    /**
     * 经办日期
     */
    private String handlingTime;

      /**
     * 备注
     */
      private String remark;

      /**
     * 创建人
     */
      private Long creator;

      /**
     * 录入时间
     */
      @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
      private LocalDateTime addTime;

      /**
     * 编辑人
     */
      private Long editor;

      /**
     * 编辑时间
     */
      private LocalDateTime editTime;

      /**
     * 删除标记
     */
      private String deleted;


}
